package sp.service;

import sp.dao.Page;
import sp.entity.User;

import java.util.List;

public interface UserService {
    List<User> find(User user);
    List<User> findAll();

    Page<User> findByPage(String userId, String userName, int page, int rows);

    void delete(String id);
}
